Fire
kFireCodecType ('Fire')
The fire effect simulates a fire by generating a number of individual flames of randomized appearance. You can control various parameters that define how the flames are generated and how they change over time.
The fire effect takes no sources and has four parameters.
Parameters
Use the descriptions below to help you understand what the parameters do. To learn how to use parameter atoms, see
"Adding Video Effects to a QuickTime Movie"
Name
|
Code
|
QTAtom Type
|
Description
|
Spread rate
|
'sprd'
|
kParameterTypeDataLong
|
How quickly the fire expands to its highest level from its starting point. The higher the value, the more quickly the fire starts up and reaches its maximum burn rate.
|
Sputter
rate
|
'decy'
|
kParameterTypeDataLong
|
How quickly the flames die down as they move up the screen. Low numbers result in very tall flames, high numbers in very low flames.
|
Water rate
|
'watr'
|
kParameterTypeDataLong
|
How often "water" is tossed on the base of the fire, instantly putting out the fire at that point. High numbers result in a fire that's very broken up (i.e. many areas of burning and non-burning) while lower numbers result in a wider, smoother fire.
|
Restart rate
|
'rset'
|
kParameterTypeDataLong
|
How often entire fire is put out, then allowed to restart.
|
© 1999 Apple Computer, Inc.
| Previous | Chapter Contents | Chapter Top | Next |